package com.busi.model;

import java.io.Serializable;
import java.math.BigDecimal;
import java.sql.Timestamp;

/**
 * ******************  类说明  *********************
 * class       :  PointOrder
 * @author     :  wu
 * @version    :  2.0  
 * description :  积分订单
 * @see        :     
 * @date       :  上午11:05:47
 * ***********************************************
 */
public class PointOrder extends BaseModel implements Serializable {
	
	private static final long serialVersionUID = -7374775612547321841L;
	private String orderid;	//订单号,
	private String orderdate;	//订单日期
	private String rpid;//充值流水
	private String ordertime;	//订单时间
	private String userid;	//用户ID
	private String bankid;	//银行ID,WXPAY微信支付  ALIPAY支付宝
	private String mobileid;	//支付手机号码
	private Integer  orderstate; //[订单状态]0 初始2 成功 3 支付接口失败4 扣款结果失败5 用户主动取消支付6 退款7 部分退款[冲正状态]20 初始状态22 冲正成功24 冲正失败
	private String payseq;//'收银台流水,支付平台的交易流水',
	private Integer isconsumed; //'积分消费记录:0 未消费,1 有消费记录'
	private BigDecimal points;	//充值积分数
	private String activityid;//适用的充值类营销活动编号,如果有多个编号，半角逗号分隔
	private BigDecimal amount;	//'支付金额/退款金额,单位：分'
	private BigDecimal refundfee;	//'退款手续费,单位：分',
	private Timestamp refundexpiretime;	//退款过期时间
	private Timestamp modtime;	//修改时间
	private Timestamp intime;	//入库时间
	
	private String funcode;
	private String orgiorderid;
	private String orgiorderdate;
	private BigDecimal paypoints;
	private BigDecimal freepoints;
	
	public String getFuncode() {
		return funcode;
	}
	public void setFuncode(String funcode) {
		this.funcode = funcode;
	}
	public String getOrgiorderid() {
		return orgiorderid;
	}
	public void setOrgiorderid(String orgiorderid) {
		this.orgiorderid = orgiorderid;
	}
	public String getOrgiorderdate() {
		return orgiorderdate;
	}
	public void setOrgiorderdate(String orgiorderdate) {
		this.orgiorderdate = orgiorderdate;
	}
	public BigDecimal getPaypoints() {
		return paypoints;
	}
	public void setPaypoints(BigDecimal paypoints) {
		this.paypoints = paypoints;
	}
	public BigDecimal getFreepoints() {
		return freepoints;
	}
	public void setFreepoints(BigDecimal freepoints) {
		this.freepoints = freepoints;
	}
	public String getOrderid() {
		return orderid;
	}
	public void setOrderid(String orderid) {
		this.orderid = orderid;
	}
	public String getOrderdate() {
		return orderdate;
	}
	public void setOrderdate(String orderdate) {
		this.orderdate = orderdate;
	}
	public String getRpid() {
		return rpid;
	}
	public void setRpid(String rpid) {
		this.rpid = rpid;
	}
	public String getOrdertime() {
		return ordertime;
	}
	public void setOrdertime(String ordertime) {
		this.ordertime = ordertime;
	}
	public String getUserid() {
		return userid;
	}
	public void setUserid(String userid) {
		this.userid = userid;
	}
	public String getBankid() {
		return bankid;
	}
	public void setBankid(String bankid) {
		this.bankid = bankid;
	}
	public String getMobileid() {
		return mobileid;
	}
	public void setMobileid(String mobileid) {
		this.mobileid = mobileid;
	}
	public Integer getOrderstate() {
		return orderstate;
	}
	public void setOrderstate(Integer orderstate) {
		this.orderstate = orderstate;
	}
	public String getPayseq() {
		return payseq;
	}
	public void setPayseq(String payseq) {
		this.payseq = payseq;
	}
	public Integer getIsconsumed() {
		return isconsumed;
	}
	public void setIsconsumed(Integer isconsumed) {
		this.isconsumed = isconsumed;
	}

	public BigDecimal getPoints() {
		return points;
	}
	public void setPoints(BigDecimal points) {
		this.points = points;
	}
	public String getActivityid() {
		return activityid;
	}
	public void setActivityid(String activityid) {
		this.activityid = activityid;
	}
	public BigDecimal getAmount() {
		return amount;
	}
	public void setAmount(BigDecimal amount) {
		this.amount = amount;
	}
	public BigDecimal getRefundfee() {
		return refundfee;
	}
	public void setRefundfee(BigDecimal refundfee) {
		this.refundfee = refundfee;
	}
	public Timestamp getRefundexpiretime() {
		return refundexpiretime;
	}
	public void setRefundexpiretime(Timestamp refundexpiretime) {
		this.refundexpiretime = refundexpiretime;
	}
	public Timestamp getModtime() {
		return modtime;
	}
	public void setModtime(Timestamp modtime) {
		this.modtime = modtime;
	}
	public Timestamp getIntime() {
		return intime;
	}
	public void setIntime(Timestamp intime) {
		this.intime = intime;
	}
	
	
	
}
